const { Parser } = require("../src/Parser");

const parser = new Parser();

// const program = `
//   x = 12;
// `;

// const program = `
//   x = y = 12;
// `;

// const program = `
//   x  = y + 4;
// `;

const program = `
  x += 1;
`;

const ast = parser.parse(program);

console.log(JSON.stringify(ast, null, 2));
